Part Number Hot Search : 
7001C L7805 PIP120 7496L E4282 C6005 D6467 ATM128
Product Description
Full Text Search
 

To Download M58LW064D110N6P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/50 september 2004 m58lw064d 64 mbit (8mb x8, 4mb x16, uniform block) 3v supply flash memory features summary wide x8 or x16 data bus for high bandwidth supply voltage ?v dd = v ddq = 2.7 to 3.6v for program, erase and read operations access time ? random read 110ns ? page mode read 110/25ns programming time ? 16 word write buffer ? 12s word effective programming time 64 uniform 64 kword/128kbyte memory blocks enhanced security ? block protection/ unprotection ?v pen signal for program erase enable ? 128 bit protection register with 64 bit unique code in otp area program and erase suspend common flash interface 100, 000 program/erase cycles per block electronic signature ? manufacturer code: 0020h ? device code m58lw064d: 0017h packages ? compliant with lead-free soldering processes ? lead-free versions figure 1. packages tsop56 (n) 14 x 20 mm tbga64 (za) 10 x 13 mm tbga
m58lw064d 2/50 table of contents features summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 1. packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 2. logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3. tsop56 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 4. tbga64 connections (top view through package) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 5. block addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 address input (a0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 address inputs (a1-a22). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 data inputs/outputs (dq0-dq15). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 chip enables (e0, e1, e2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 output enable (g ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 write enable (w ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 0 reset/power-down (rp ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 byte/word organization select (byte ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 status/(ready/busy) (sts) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 program/erase enable (v pen ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 v dd supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 v ddq supply voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 v ss ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 v ssq ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 2. device enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 bus operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 bus read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 bus write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 output disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 3. bus operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 read modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 command interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 read memory array command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 read electronic signature command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 read query command.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 read status register command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 clear status register command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 block erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3/50 m58lw064d word/byte program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 write to buffer and program command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 program/erase suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 program/erase resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 block protect command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 blocks unprotect command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 protection register program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 configure sts command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 4. commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 5. configuration codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 6. read electronic signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 figure 6. protection register memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 7. word-wide read protection register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 8. byte-wide read protection register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 9. program, erase times and program erase endurance cycles . . . . . . . . . . . . . . . . . . . 19 status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 program/erase controller status bit (sr7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0 erase suspend status bit (sr6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 erase status bit (sr5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 program status bit (sr4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 vpen status bit (sr3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 program suspend status bit (sr2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 block protection status bit (sr1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 reserved (sr0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 10. status register bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 maximum rating. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 11. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 12. operating and ac measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 7. ac measurement input output waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 8. ac measurement load circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 13. capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 14. dc characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 9. random read ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 15. random read ac characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 10.page read ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 16. page read ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 11.write ac waveform, write enable controlled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 17. write ac characteristics, write enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 12.write ac waveforms, chip enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 18. write ac characteristics, chip enable controlled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 13.reset, power-down and power-up ac waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 19. reset, power-down and power-up ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 30
m58lw064d 4/50 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 14.tsop56 - 56 lead plastic thin small outline, 14 x 20 mm, package outline . . . . . . . . 31 table 20. tsop56 - 56 lead plastic thin small outline, 14 x 20 mm, package mechanical data . 31 figure 15.tbga64 - 10x13mm, 8 x 8 ball array 1mm pitch, package outline . . . . . . . . . . . . . . . . 32 table 21. tbga64 - 10x13mm, 8 x 8 ball array, 1 mm pitch, package mechanical data . . . . . . . . 32 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 22. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 appendix a.block address table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 23. block addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 appendix b.common flash interface - cfi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 24. query structure overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 25. cfi - query address and data output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 26. cfi - device voltage and timing specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 27. device geometry definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 table 28. block status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 29. extended query information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 appendix c.flow charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 16.write to buffer and program flowchart and pseudo code . . . . . . . . . . . . . . . . . . . . . . . 39 figure 17.program suspend & resume flowchart and pseudo code . . . . . . . . . . . . . . . . . . . . . . 40 figure 18.erase flowchart and pseudo code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 19.erase suspend & resume flowchart and pseudo code . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 20.block protect flowchart and pseudo code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 21.blocks unprotect flowchart and pseudo code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 figure 22.protection register program flowchart and pseudo code. . . . . . . . . . . . . . . . . . . . . . . 45 figure 23.command interface and program erase controller flowchart (a) . . . . . . . . . . . . . . . . . 46 figure 24.command interface and program erase controller flowchart (b) . . . . . . . . . . . . . . . . . 47 figure 25.command interface and program erase controller flowchart (c). . . . . . . . . . . . . . . . . . 48 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 30. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5/50 m58lw064d summary description the m58lw064d is a 64 mbit (8mb x 8 or 4mb x16) non-volatile memory that can be read, erased and reprogrammed. these operations can be per- formed using a single low voltage (2.7v to 3.6v) core supply. the memory is divided into 64 blocks of 1mbit that can be erased independently so it is possible to preserve valid data while old data is erased. pro- gram and erase commands are written to the command interface of the memory. an on-chip program/erase controller simplifies the process of programming or erasing the memory by taking care of all of the special operations that are re- quired to update the memory contents. the end of a program or erase operation can be detected and any error conditions identified in the status regis- ter. the command set required to control the memory is consistent with jedec standards. the write buffer allows the microprocessor to pro- gram from 1 to 16 words in parallel, both speeding up the programming and freeing up the micropro- cessor to perform other work. a word program command is available to program a single word. erase can be suspended in order to perform either read or program in any other block and then re- sumed. program can be suspended to read data in any other block and then resumed. each block can be programmed and erased over 100,000 cy- cles. the m58lw064d has several security features to increase data protection. block protection, where each block can be individually protected against program or erase operations. all blocks are protected during power-up. the protection of the blocks is non-volatile; after power-up the protection status of each block is restored to the state when power was last removed. program erase enable input v pen , program or erase operations are not possible when the program erase enable input v pen is low. 128 bit protection register, divided into two 64 bit segments: the first contains a unique device number written by st, the second is user programmable. the user programmable segment can be protected. the reset/power-down pin is used to apply a hardware reset to the enabled memory and to set the device in power-down mode. the device features an auto low power mode. if the bus becomes inactive during read operations, the device automatically enters auto low power mode. in this mode the power consumption is re- duced to the auto low power supply current. the sts signal is an open drain output that can be used to identify the program/erase controller sta- tus. it can be configured in two modes: ready/ busy mode where a static signal indicates the sta- tus of the p/e.c, and status mode where a pulsing signal indicates the end of a program or block erase operation. in status mode it can be used as a system interrupt signal, useful for saving cpu time. the memory is available in tsop56 (14 x 20 mm) and tbga64 (10x13mm , 1mm pitch) packages. in addition to the standard version, the packages are also available in lead-free version, in compli- ance with jedec std j-std-020b, the st eco- pack 7191395 specification, and the rohs (restriction of hazardous substances) directive. all packages are compliant with lead-free solder- ing processes.
m58lw064d 6/50 figure 2. logic diagram table 1. signal names ai05584b 23 a0-a22 w dq0-dq15 v dd m58lw064d e0 v ss 16 g rp e1 v ddq e2 v pen v ssq sts byte a0 address input (used in x8 mode only) a1-a22 address inputs byte byte/word organization select dq0-dq15 data inputs/outputs e0 chip enable e1 chip enable e2 chip enable g output enable rp reset/power-down sts status/(ready/busy) v pen program/erase enable w write enable v dd supply voltage v ddq input/output supply voltage v ss ground v ssq input/output ground nc not connected internally du do not use
7/50 m58lw064d figure 3. tsop56 connections dq3 dq9 dq2 dq0 dq6 a16 a17 a18 dq14 dq12 dq10 sts v ddq dq4 dq7 ai05585 m58lw064d 14 1 15 28 29 42 43 56 dq8 v dd dq1 dq11 a0 a20 a21 nc a19 w e1 e0 e2 byte a6 a3 a8 a9 a10 a2 a7 v pen a1 a4 a5 a12 a13 a11 a15 a14 rp v ss dq13 dq15 v dd dq5 g v ss v ssq a22 nc
m58lw064d 8/50 figure 4. tbga64 connections (top view through package) ai05586b dq6 a1 v ssq v dd dq10 v dd dq7 dq5 v ddq dq2 h dq14 v ss dq13 d a16 a20 e0 a9 c a17 a21 a11 a15 byte a8 b a19 a2 a13 a14 a 8 7 6 5 4 3 2 1 a7 a3 a4 a5 g f e dq0 a6 v pen a18 a10 a12 rp dq15 sts dq9 dq8 dq1 dq4 dq3 g dq12 dq11 w v ss du du du du du du du du nc a22 e2 nc e1 a0
9/50 m58lw064d figure 5. block addresses note: also see appendix a. , table 23. for a full listing of the block addresses ai06212 1 mbit or 128 kbytes 3fffffh 3f0000h 1 mbit or 128 kbytes 01ffffh 010000h 1 mbit or 128 kbytes 00ffffh 000000h byte (x8) bus width word (x16) bus width 1 mbit or 128 kbytes 3effffh 3e0000h total of 64 1 mbit blocks 7fffffh 7e0000h 03ffffh 020000h 01ffffh 000000h 7dffffh 7c0000h 1 mbit or 64 kwords 1 mbit or 64 kwords 1 mbit or 64 kwords 1 mbit or 64 kwords
m58lw064d 10/50 signal descriptions see figure 2., logic diagram , and table 1., signal names , for a brief overview of the signals connect- ed to this device. address input (a0). the a0 address input is used to select the higher or lower byte in x8 mode. it is not used in x16 mode (where a1 is the lowest significant bit). address inputs (a1-a22). the a1-a22 address inputs are used to select the cells to access in the memory array during bus read operations either to read or to program data. during bus write oper- ations they control the commands sent to the command interface of the internal state machine. the device must be enabled (refer to table 2., de- vice enable ) when selecting the addresses. the address inputs are latched on the rising edge of write enable or on the first edge of chip enables e0, e1 or e2 that disable the device, whichever occurs first. data inputs/outputs (dq0-dq15). the data in- puts/outputs output the data stored at the selected address during a bus read operation, or are used to input the data during a program operation. dur- ing bus write operations they represent the com- mands sent to the command interface of the internal state machine. when used to input data or write commands they are latched on the rising edge of write enable or the first edge of chip en- ables e0, e1 or e2 that disable the device, which- ever occurs first. when the device is enabled and output enable is low, v il (refer to table 2., device enable ), the data bus outputs data from the memory array, the elec- tronic signature, the block protection status, the cfi information or the contents of the status reg- ister. the data bus is high impedance when the device is deselected, output enable is high, v ih, or the reset/power-down signal is low, v il . when the program/erase controller is active the ready/ busy status is given on dq7. chip enables (e0, e1, e2). the chip enable in- puts e0, e1 and e2 activate the memory control logic, input buffers, decoders and sense amplifi- ers. the device is selected at the first edge of chip enables e0, e1 or e2 that enable the device and deselected at the first edge of chip enables e0, e1 or e2 that disable the device. refer to table 2., device enable for more details. when the chip enable inputs deselect the memo- ry, power consumption is reduced to the standby level, i dd1 . output enable (g ). the output enable, g , gates the outputs through the data output buffers during a read operation. when output enable, g , is at v ih the outputs are high impedance. write enable (w ). the write enable input, w , controls writing to the command interface, input address and data latches. both addresses and data can be latched on the rising edge of write en- able. reset/power-down (rp ). the reset/power- down pin can be used to apply a hardware reset to the memory. a hardware reset is achieved by holding reset/ power-down low, v il , for at least t plph . when reset/power-down is low, v il , the status regis- ter information is cleared and the power consump- tion is reduced to power-down level. the device is deselected and outputs are high impedance. if re- set/power-down goes low, v il ,during a block erase, a write to buffer and program or a block protect/unprotect the operation is aborted and the data may be corrupted. in this case the sts pin stays low, v il , for a maximum timing of t plph + t ph- bh, until the completion of the reset/power-down pulse. after reset/power-down goes high, v ih , the memory will be ready for bus read and bus write operations after t phqv . note that sts does not fall during a reset, see ready/busy output section. in an application, it is recommended to associate reset/power-down pin, rp , with the reset signal of the microprocessor. otherwise, if a reset opera- tion occurs while the memory is performing an erase or program operation, the memory may out- put the status register information instead of be- ing initialized to the default asynchronous random read. byte/word organization select (byte ). the byte/word organization select pin is used to switch between the x8 and x16 bus widths of the memory. when byte/word organization select is low, v il , the memory is in x8 mode, when it is high, v ih , the memory is in x16 mode. status/(ready/busy) (sts). the sts signal is an open drain output that can be used to identify the program/erase controller status. it can be configured in two modes: ready/busy - the pin is low, v ol , during program and erase operations and high impedance when the memory is ready for any read, program or erase operation. status - the pin gives a pulsing signal to indicate the end of a program or block erase operation. after power-up or reset the sts pin is configured in ready/busy mode. the pin can be configured for status mode using the configure sts com- mand.
11/50 m58lw064d when the program/erase controller is idle, or sus- pended, sts can float high through a pull-up re- sistor. the use of an open-drain output allows the sts pins from several memories to be connected to a single pull-up resistor (a low will indicate that one, or more, of the memories is busy). sts is not low during a reset unless the reset was applied when the program/erase controller was active program/erase enable (v pen ). the program/ erase enable input, v pen, is used to protect all blocks, preventing program and erase operations from affecting their data. program/erase enable must be kept high during all program/erase controller operations, other- wise the operations is not guaranteed to succeed and data may become corrupt. v dd supply voltage. v dd provides the power supply to the internal core of the memory device. it is the main power supply for all operations (read, program and erase). v ddq supply voltage. v ddq provides the power supply to the i/o pins and enables all outputs to be powered independently from v dd . v ddq can be tied to v dd or can use a separate supply. it is recommended to power-up and power-down v dd and v ddq together to avoid any condition that would result in data corruption. v ss ground. ground, v ss, is the reference for the core power supply. it must be connected to the system ground. v ssq ground. v ssq ground is the reference for the input/output circuitry driven by v ddq . v ssq must be connected to v ss . note: each device in a system should have v dd and v ddq decoupled with a 0.1f ceramic capacitor close to the pin (high frequency, in- herently low inductance capacitors should be as close as possible to the package). see fig- ure 8., ac measurement load circuit . table 2. device enable note: for single device operations, e2 and e1 can be connected to v ss . e2 e1 e0 device v il v il v il enabled v il v il v ih disabled v il v ih v il disabled v il v ih v ih disabled v ih v il v il enabled v ih v il v ih enabled v ih v ih v il enabled v ih v ih v ih disabled
m58lw064d 12/50 bus operations there are five standard bus operations that control the device. these are bus read, bus write, out- put disable, power-down and standby. see table 3., bus operations , for a summary. typically glitches of less than 5ns on chip enable or write enable are ignored by the memory and do not affect bus write operations. bus read. bus read operations are used to out- put the contents of the memory array, the elec- tronic signature, the status register, the common flash interface and the block protection status. a valid bus operation involves setting the desired address on the address inputs, enabling the de- vice (refer to table 2., device enable ), applying a low signal, v il , to output enable and keeping write enable high, v ih . the data read depends on the previous command written to the memory (see command interface section). see figures 9 and 10 read ac waveforms, and tables 15 and 16 read ac characteristics, for de- tails of when the output becomes valid. bus write. bus write operations write com- mands to the memory or latch addresses and input data to be programmed. a valid bus write operation begins by setting the desired address on the address inputs and en- abling the device (refer to chip enable section). the address inputs are latched by the command interface on the rising edge of write enable or the first edge of e0, e1 or e2 that disables the device (refer to table 2., device enable ). the data input/outputs are latched by the com- mand interface on the rising edge of write enable or the first edge of e0, e1 or e2 that disable the de- vice whichever occurs first. output enable must remain high, v ih , during the bus write operation. see figures 11 and 12 , write ac waveforms, and tables 17 and 18 , write and chip enable con- trolled write ac characteristics, for details of the timing requirements. output disable. the data inputs/outputs are high impedance when the output enable is at v ih . power-down. the memory is in power-down mode when reset/power-down, rp , is low. the power consumption is reduced to the power-down level, i dd2 , and the outputs are high impedance, independent of chip enable, output enable or write enable. standby. standby disables most of the internal circuitry, allowing a substantial reduction of the current consumption. the memory is in standby when chip enable is at v ih . the power consump- tion is reduced to the standby level i dd1 and the outputs are set to high impedance, independently from the output enable or write enable inputs. if chip enable switches to v ih during a program or erase operation, the device enters standby mode when finished. table 3. bus operations note: 1. dq8-dq15 are high z in x8 mode. 2. x = don?t care v il or v ih. operation e0, e1 or e2 g w rp a1-a22 (x16) a0-a22 (x8) dq0-dq15 (x16) dq0-dq7 (x8) (1) bus read v il v il v ih v ih address data output bus write v il v ih v il v ih address data input output disable v il v ih v ih v ih xhigh z power-down x x x v il xhigh z standby v ih xx v ih xhigh z
13/50 m58lw064d read modes read operations in the m58lw064d are asyn- chronous. the device outputs the data corre- sponding to the address latched, that is the memory array, status register, common flash in- terface, electronic signature or block protection status depending on the command issued. during read operations, if the bus is inactive for a time equivalent to t avqv , the device automatically enters auto low power mode. in this mode the in- ternal supply current is reduced to the auto low power supply current, i dd5 . the data inputs/out- puts will still output data if a bus read operation is in progress. read operations can be performed in two different ways, random read (where each bus read oper- ation accesses a different page) and page read. in page read mode a page of data is internally read and stored in a page buffer. each memory page is a 4 words or 8 bytes and has the same a3-a22. in x8 mode only a0, a1 and a2 may change, in x16 mode only a1 and a2 may change. the first read operation within the page has the normal access time (t avqv ), subsequent reads within the same page have much shorter access times (t avqv1 ). if the page changes then the nor- mal, longer timings apply again. see figure 10., page read ac waveforms , and table 16., page read ac characteristics , for de- tails on when the outputs become valid.
m58lw064d 14/50 command interface all bus write operations to the memory are inter- preted by the command interface. commands consist of one or more sequential bus write oper- ations. the commands are summarized in table 4., commands . refer to table 4. in conjunction with the text descriptions below. after power-up or a reset operation the memory enters read mode. read memory array command. the read mem- ory array command is used to return the memory to read mode. one bus write cycle is required to issue the read memory array command and re- turn the memory to read mode. once the com- mand is issued the memory remains in read mode until another command is issued. from read mode bus read operations will access the memory array. after power-up or a reset the mem- ory defaults to read array mode (page read). while the program/erase controller is executing a program, erase, block protect, blocks unprotect or protection register program operation the memory will not accept the read memory array command until the operation completes. read electronic signature command. the read electronic signature command is used to read the manufacturer code, the device code, the block protection status and the protection register. one bus write cycle is required to issue the read electronic signature command. once the com- mand is issued subsequent bus read operations read the manufacturer code, the device code, the block protection status or the protection register until another command is issued. refer to table 6., read electronic signature , tables 7 and 8 , word and byte-wide read protection register and figure 6., protection register memory map , for information on the addresses. read query command. the read query com- mand is used to read data from the common flash interface (cfi) memory area. one bus write cycle is required to issue the read query command. once the command is issued subsequent bus read operations read from the common flash in- terface memory area. see appendix b. , tables 24 , 25 , 26 , 27 , 28 and 29 for details on the infor- mation contained in the common flash interface (cfi) memory area. read status register command. the read sta- tus register command is used to read the status register. one bus write cycle is required to issue the read status register command. once the command is issued subsequent bus read opera- tions read the status register until another com- mand is issued. the status register information is present on the output data bus (dq1-dq7) when the device is en- abled and output enable is low, v il . see the section on the status register and table 10. for details on the definitions of the status reg- ister bits clear status register command. the clear sta- tus register command can be used to reset bits sr1, sr3, sr4 and sr5 in the status register to ?0?. one bus write is required to issue the clear status register command. the bits in the status register are sticky and do not automatically return to ?0? when a new write to buffer and program, erase, block protect, block unprotect or protection register program com- mand is issued. if any error occurs then it is essen- tial to clear any error bits in the status register by issuing the clear status register command before attempting a new program, erase or resume command. block erase command. the block erase com- mand can be used to erase a block. it sets all of the bits in the block to ?1?. all previous data in the block is lost. if the block is protected then the erase operation will abort, the data in the block will not be changed and the status register will output the error. two bus write operations are required to issue the command; the second bus write cycle latches the block address in the internal state machine and starts the program/erase controller. once the command is issued subsequent bus read opera- tions read the status register. see the section on the status register for details on the definitions of the status register bits. during the erase operation the memory will only accept the read status register command and the program/erase suspend command. all other commands will be ignored. typical erase times are given in table 9. see appendix c. , figure 18., erase flowchart and pseudo code , for a suggested flowchart on using the block erase command. word/byte program command. the word/ byte program command is used to program a sin- gle word or byte in the memory array. two bus write operations are required to issue the com- mand; the first write cycle sets up the word pro- gram command, the second write cycle latches the address and data to be programmed in the internal state machine and starts the program/erase con- troller. if the block being programmed is protected an er- ror will be set in the status register and the oper- ation will abort without affecting the data in the
15/50 m58lw064d memory array. the block must be unprotected us- ing the blocks unprotect command or by using the blocks temporary unprotect feature of the reset/ power-down pin, rp . write to buffer and program command. the write to buffer and program command is used to program the memory array. up to 16 words/32 bytes can be loaded into the write buffer and programmed into the memory. each write buffer has the same a5-a22 address- es. in byte-wide mode only a0-a4 may change in word-wide mode only a1-a4 may change. four successive steps are required to issue the command. 1. one bus write operation is required to set up the write to buffer and program command. issue the set up command with the selected memory block address where the program operation should occur (any address in the block where the values will be programmed can be used). any bus read operations will start to output the status register after the 1st cycle. 2. use one bus write operation to write the same block address along with the value n on the data inputs/output, where n+1 is the number of words/bytes to be programmed. 3. use n+1 bus write operations to load the address and data for each word into the write buffer. see the constraints on the address combinations listed below. the addresses must have the same a5-a22. 4. finally, use one bus write operation to issue the final cycle to confirm the command and start the program operation. invalid address combinations or failing to follow the correct sequence of bus write cycles will set an error in the status register and abort the oper- ation without affecting the data in the memory ar- ray. the status register should be cleared before re-issuing the command. if the block being programmed is protected an er- ror will be set in the status register and the oper- ation will abort without affecting the data in the memory array. the block must be unprotected us- ing the blocks unprotect command. see appendix c. , figure 16., write to buffer and program flowchart and pseudo code , for a sug- gested flowchart on using the write to buffer and program command. program/erase suspend command. the pro- gram/erase suspend command is used to pause a word/byte program, write to buffer and program or erase operation. the command will only be ac- cepted during a program or an erase operation. it can be issued at any time during an erase opera- tion but will only be accepted during a word pro- gram or write to buffer and program command if the program/erase controller is running. one bus write cycle is required to issue the pro- gram/erase suspend command and pause the program/erase controller. once the command is issued it is necessary to poll the program/erase controller status bit (sr7) to find out when the program/erase controller has paused; no other commands will be accepted until the program/ erase controller has paused. after the program/ erase controller has paused, the memory will con- tinue to output the status register until another command is issued. during the polling period between issuing the pro- gram/erase suspend command and the program/ erase controller pausing it is possible for the op- eration to complete. once the program/erase controller status bit (sr7) indicates that the pro- gram/erase controller is no longer active, the pro- gram suspend status bit (sr2) or the erase suspend status bit (sr6) can be used to deter- mine if the operation has completed or is suspend- ed. for timing on the delay between issuing the program/erase suspend command and the pro- gram/erase controller pausing see table 9. during program/erase suspend the read memo- ry array, read status register, read electronic signature, read query and program/erase re- sume commands will be accepted by the com- mand interface. additionally, if the suspended operation was erase then the write to buffer and program, and the program suspend commands will also be accepted. when a program operation is completed inside a block erase suspend the read memory array command must be issued to reset the device in read mode, then the erase re- sume command can be issued to complete the whole sequence. only the blocks not being erased may be read or programmed correctly. see appendix c. , figure 17., program suspend & resume flowchart and pseudo code , and fig- ure 19., erase suspend & resume flowchart and pseudo code , for suggested flowcharts on using the program/erase suspend command. program/erase resume command. the pro- gram/erase resume command can be used to re- start the program/erase controller after a program/erase suspend operation has paused it. one bus write cycle is required to issue the pro- gram/erase resume command. once the com- mand is issued subsequent bus read operations read the status register. block protect command. the block protect command is used to protect a block and prevent program or erase operations from changing the data in it. two bus write cycles are required to is- sue the block protect command; the second bus
m58lw064d 16/50 write cycle latches the block address in the inter- nal state machine and starts the program/erase controller. once the command is issued subse- quent bus read operations read the status reg- ister. see the section on the status register for details on the definitions of the status register bits. during the block protect operation the memory will only accept the read status register command. all other commands will be ignored. typical block protection times are given in table 9. the block protection bits are non-volatile, once set they remain set through reset and power- down/power-up. they are cleared by a blocks un- protect command. see appendix c. , figure 20., block protect flowchart and pseudo code , for a suggested flow- chart on using the block protect command. blocks unprotect command. the blocks un- protect command is used to unprotect all of the blocks. two bus write cycles are required to issue the blocks unprotect command; the second bus write cycle starts the program/erase controller. once the command is issued subsequent bus read operations read the status register. see the section on the status register for details on the definitions of the status register bits. during the block unprotect operation the memory will only accept the read status register com- mand. all other commands will be ignored. typical block protection times are given in table 9. see appendix c. , figure 21., blocks unprotect flowchart and pseudo code , for a suggested flow- chart on using the block unprotect command. protection register program command. the protection register program command is used to program the 64 bit user segment of the protection register. two write cycles are required to issue the protection register program command. the first bus cycle sets up the protection register program command. the second latches the address and the data to be written to the protection register and starts the program/erase controller. read operations output the status register con- tent after the programming has started. the user-programmable segment can be locked by programming bit 1 of the protection register lock location to ?0? (see table 7. and table 8. for word-wide and byte-wide protection addressing). bit 0 of the protection register lock location locks the factory programmed segment and is pro- grammed to ?0? in the factory. the locking of the protection register is not reversible, once the lock bits are programmed no further changes can be made to the values stored in the protection regis- ter, see figure 6., protection register memory map . attempting to program a previously protect- ed protection register will result in a status reg- ister error. the protection register program cannot be sus- pended. see appendix c. , figure 22., protec- tion register program flowchart and pseudo code , for the flowchart for using the protection register program command. configure sts command. the configure sts command is used to configure the status/(ready/busy) pin. after power-up or re- set the sts pin is configured in ready/busy mode. the pin can be configured in status mode using the configure sts command (refer to sta- tus/(ready/busy) section for more details. two write cycles are required to issue the config- ure sts command. the first bus cycle sets up the configure sts command. the second specifies one of the four possible configurations (refer to table 5., configuration codes ): ? ready/busy mode ? pulse on erase complete mode ? pulse on program complete mode ? pulse on erase or program complete mode the device will not accept the configure sts com- mand while the program/erase controller is busy or during program/erase suspend. when sts pin is pulsing it remains low for a typical time of 250ns. any invalid configuration code will set an error in the status register.
17/50 m58lw064d table 4. commands note: 1. x don?t care; ra read address, rd read data, ida identifi er address, idd identifier data, srd status register data, pa p rogram address; pd program data, qa query addres s, qd query data, ba any address in the block, pra protection register address, prd protection register da ta, cc configuration code. 2. for identifier addresses and data refer to table 6., read electronic signature . 3. for query address and data refer to appendix b., common flash interface - cfi . table 5. configuration codes note: 1. dq2-dq7 are reserved 2. when sts pin is pulsing it remains low for a typical time of 250ns. command cycles bus operations 1st cycle 2nd cycle subsequent final op. addr. data op. addr. data op. addr. data op. addr. data read memory array 2 write x ffh read ra rd read electronic signature 2 write x 90h read ida (2) idd (2) read status register 2 write x 70h read x srd read query 2 write x 98h read qa (3) qd (3) clear status register 1 write x 50h block erase 2 write x 20h write ba d0 word/byte program 2 write x 40h 10h write pa pd write to buffer and program 4 + n write ba e8h write ba n write pa pd write x d0h program/erase suspend 1 write x b0h program/erase resume 1 write x d0h block protect 2 write x 60h write ba 01h blocks unprotect 2 write x 60h write x d0h protection register program 2writex c0hwrite pra prd configure sts command 2 write x b8h write x cc configuration code dq1 dq2 mode sts pin description 00h 0 0 ready/busy v ol during p/e operations hi-z when the memory is ready the sts pin is low during program and erase operations and high impedance when the memory is ready for any read, program or erase operation. 01h 0 1 pulse on erase complete pulse low then high when operation completed (2) supplies a system interrupt pulse at the end of a block erase operation. 02h 1 0 pulse on program complete supplies a system interrupt pulse at the end of a program operation. 03h 1 1 pulse on erase or program complete supplies a system interrupt pulse at the end of a block erase or program operation.
m58lw064d 18/50 table 6. read electronic signature note: 1. sba is the start base address of each block, prd is protection register data. 2. base address, refer to figure 6. and tables 7 and 8 for more information. 3. a0 is not used in read electronic signature in either x8 or x16 mode. the data is always presented on the lower byte in x16 m ode. figure 6. protection register memory map table 7. word-wide read protection register code bus width address (a22-a1) (3) data (dq15-dq0) manufacturer code x8 000000h 20h x16 0020h device code x8 000001h 17h x16 0017h block protection status x8 sba (1) +02h 00h (block unprotected) 01h (block protected) x16 0000h (block unprotected) 0001h (block protected) protection register x8, x16 000080h (2) prd (1) word use a8a7a6a5a4a3a2a1 lockfactory, user 10000000 0factory (unique id)10000001 1factory (unique id)10000010 2factory (unique id)10000011 3factory (unique id)10000100 4 user 10000101 5 user 10000110 6 user 10000111 7 user 10001000 ai05501 user programmable unique device number protection register lock 1 0 88h 85h 84h 81h 80h word address
19/50 m58lw064d table 8. byte-wide read protection register table 9. program, erase times and program erase endurance cycles note: 1. typical values measured at room temperature and nominal voltages. 2. sampled, but not 100% tested. 3. effective byte programming time 6s, effective word programming time 12s. 4. maximum value measured at worst case conditions for both temperature and v dd after 100,000 program/erase cycles. 5. maximum value measured at worst case conditions for both temperature and v dd . word use a8a7a6a5a4a3a2a1 lockfactory, user 10000000 lockfactory, user 10000000 0factory (unique id)10000001 1factory (unique id)10000001 2factory (unique id)10000010 3factory (unique id)10000010 4factory (unique id)10000011 5factory (unique id)10000011 6factory (unique id)10000100 7factory (unique id)10000100 8 user 10000101 9 user 10000101 a user 10000110 b user 10000110 c user 10000111 d user 10000111 e user 10001000 f user 10001000 parameters m58lw064d unit min typ (1,2) max (2) block (1mb) erase 1.2 4.8 (4) s chip program (write to buffer) 49 145 (4) s chip erase time 74 220 (4) s program write buffer 192 (3) 576 (4) s word/byte program time (word/byte program command) 16 48 (4) s program suspend latency time 1 20 (5) s erase suspend latency time 1 25 (5) s block protect time 18 30 (5) s blocks unprotect time 0.75 1.2 (5) s program/erase cycles (per block) 100,000 cycles data retention 20 years
m58lw064d 20/50 status register the status register provides information on the current or previous program, erase, block protect or blocks unprotect operation. the various bits in the status register convey information and errors on the operation. they are output on dq7-dq0. to read the status register the read status reg- ister command can be issued. the status register is automatically read after program, erase, block protect, blocks unprotect and program/erase re- sume commands. the status register can be read from any address. the contents of the status register can be updat- ed during an erase or program operation by tog- gling the output enable pin or by de-activating and then reactivating the device (refer to table 2., de- vice enable ). status register bits sr5, sr4, sr3 and sr1 are associated with various error conditions and can only be reset with the clear status register com- mand. the status register bits are summarized in table 10., status register bits . refer to table 10. in conjunction with the following text descriptions. program/erase controller status bit (sr7). the program/erase controller status bit indicates whether the program/erase controller is active or inactive. when the program/erase controller sta- tus bit is low, v ol , the program/erase controller is active and all other status register bits are high impedance; when the bit is high, v oh , the pro- gram/erase controller is inactive. the program/erase controller status is low im- mediately after a program/erase suspend com- mand is issued until the program/erase controller pauses. after the program/erase controller paus- es the bit is high. during program, erase, block protect and blocks unprotect operations the program/erase control- ler status bit can be polled to find the end of the operation. the other bits in the status register should not be tested until the program/erase con- troller completes the operation and the bit is high. after the program/erase controller completes its operation the erase status, program status and block protection status bits should be tested for errors. erase suspend status bit (sr6). the erase suspend status bit indicates that an erase opera- tion has been suspended and is waiting to be re- sumed. the erase suspend status should only be considered valid when the program/erase con- troller status bit is high (program/erase controller inactive); after a program/erase suspend com- mand is issued the memory may still complete the operation rather than entering the suspend mode. when the erase suspend status bit is low, v ol , the program/erase controller is active or has com- pleted its operation; when the bit is high, v oh , a program/erase suspend command has been is- sued and the memory is waiting for a program/ erase resume command. when a program/erase resume command is is- sued the erase suspend status bit returns low. erase status bit (sr5). the erase status bit can be used to identify if the memory has failed to ver- ify that the block has erased correctly or that all blocks have been unprotected successfully. the erase status bit should be read once the program/ erase controller status bit is high (program/erase controller inactive). when the erase status bit is low, v ol , the mem- ory has successfully verified that the block has erased correctly or all blocks have been unprotect- ed successfully. when the erase status bit is high, v oh , the erase operation has failed. de- pending on the cause of the failure other status register bits may also be set to high, v oh . if only the erase status bit (sr5) is set high, v oh , then the program/erase controller has applied the maximum number of pulses to the block and still failed to verify that the block has erased correctly or that all the blocks have been unprotected successfully. if the failure is due to an erase or blocks unprotect with v pen low, v ol , then v pen status bit (sr3) is also set high, v oh . if the failure is due to an erase on a protected block then block protection status bit (sr1) is also set high, v oh . if the failure is due to a program or erase incorrect command sequence then program status bit (sr4) is also set high, v oh . once set high, the erase status bit can only be re- set low by a clear status register command or a hardware reset. if set high it should be reset be- fore a new program or erase command is issued, otherwise the new command will appear to fail. program status bit (sr4). the program status bit is used to identify a program or block protect failure. the program status bit should be read once the program/erase controller status bit is high (program/erase controller inactive). when the program status bit is low, v ol , the memory has successfully verified that the write buffer has programmed correctly or the block is protected. when the program status bit is high, v oh , the program or block protect operation has failed. depending on the cause of the failure other status register bits may also be set to high, v oh .
21/50 m58lw064d if only the program status bit (sr4) is set high, v oh , then the program/erase controller has applied the maximum number of pulses to the byte and still failed to verify that the write buffer has programmed correctly or that the block is protected. if the failure is due to a program or block protect with v pen low, v ol , then v pen status bit (sr3) is also set high, v oh . if the failure is due to a program on a protected block then block protection status bit (sr1) is also set high, v oh . if the failure is due to a program or erase incorrect command sequence then erase status bit (sr5) is also set high, v oh . once set high, the program status bit can only be reset low by a clear status register command or a hardware reset. if set high it should be reset be- fore a new program or erase command is issued, otherwise the new command will appear to fail. v pen status bit (sr3). the v pen status bit can be used to identify if a program, erase, block pro- tection or block unprotection operation has been attempted when v pen is low, v il . when the v pen status bit is low, v ol , no pro- gram, erase, block protection or block unprotec- tion operations have been attempted with v pen low, v il , since the last clear status register com- mand, or hardware reset. when the v pen status bit is high, v oh , a program, erase, block protec- tion or block unprotection operation has been at- tempted with v pen low, v il . once set high, the v pen status bit can only be re- set by a clear status register command or a hard- ware reset. if set high it should be reset before a new program, erase, block protection or block unprotection command is issued, otherwise the new command will appear to fail. program suspend status bit (sr2). the pro- gram suspend status bit indicates that a program operation has been suspended and is waiting to be resumed. the program suspend status should only be considered valid when the program/erase controller status bit is high (program/erase con- troller inactive); after a program/erase suspend command is issued the memory may still complete the operation rather than entering the suspend mode. when the program suspend status bit is low, v ol , the program/erase controller is active or has completed its operation; when the bit is high, v oh , a program/erase suspend command has been is- sued and the memory is waiting for a program/ erase resume command. when a program/erase resume command is is- sued the program suspend status bit returns low. block protection status bit (sr1). the block protection status bit can be used to identify if a program or erase operation has tried to modify the contents of a protected block. when the block protection status bit is low, v ol , no program or erase operations have been at- tempted to protected blocks since the last clear status register command or hardware reset; when the block protection status bit is high, v oh , a program (program status bit sr4 set high) or erase (erase status bit sr5 set high) operation has been attempted on a protected block. once set high, the block protection status bit can only be reset low by a clear status register com- mand or a hardware reset. if set high it should be reset before a new program or erase command is issued, otherwise the new command will appear to fail. reserved (sr0). bit sr0 of the status register is reserved. its value should be masked.
m58lw064d 22/50 table 10. status register bits operation sr 7 sr 6 sr 5 sr 4 sr 3 sr 2 sr 1 result (hex) program/erase controller active 0 hi-z n/a write buffer not ready 0 hi-z n/a write buffer ready 1 0 0 0 0 0 0 80h write buffer ready in erase suspend 1 1 0 0 0 0 0 c0h program suspended 1 0 0 0 0 1 0 84h program suspended in erase suspend 1 1 0 0 0 1 0 c4h program/block protect completed successfully 100000080h program completed successfully in erase suspend 1100000c0h program/block protect failure due to incorrect command sequence 1011000b0h program failure due to incorrect command sequence in erase suspend 1111000f0h program/block protect failure due to v pen error 100110098h program failure due to v pen error in erase suspend 1101100d8h program failure due to block protection 1 0 0 1 0 0 1 92h program failure due to block protection in erase suspend 1101001d2h program/block protect failure due to cell failure 100100090h program failure due to cell failure in erase suspend 1101000d0h erase suspended 1 1 0 0 0 0 0 c0h erase/blocks unprotect completed successfully 100000080h erase/blocks unprotect failure due to incorrect command sequence 1011000b0h erase/blocks unprotect failure due to v pen error 1010100a8h erase failure due to block protection 1 0 1 0 0 0 1 a2h erase/blocks unprotect failure due to failed cells in block 1010000a0h configure sts error due to invalid configuration code 1011000b0h
23/50 m58lw064d maximum rating stressing the device above the ratings listed in ta- ble 11., absolute maximum ratings , may cause permanent damage to the device. these are stress ratings only and operation of the device at these or any other conditions above those indicat- ed in the operating sections of this specification is not implied. exposure to absolute maximum rat- ing conditions for extended periods may affect de- vice reliability. refer also to the stmicroelectronics sure program and other rel- evant quality documents. table 11. absolute maximum ratings note: 1. compliant with the jedec std j-std-020b (for small body, sn-pb or pb assembly), the st ecopack ? 7191395 specification, and the european directive on restrictions on hazardous substances (rohs) 2002/95/eu. 2. maximum one output short-circuited at a time and for no longer than 1 second. symbol parameter value unit min max t bias temperature under bias ?40 125 c t stg storage temperature ?55 150 c t lead lead temperature during soldering (1) c v io input or output voltage ?0.6 v ddq +0.6 v v dd , v ddq supply voltage ?0.6 5.0 v i osc output short-circuit current 100 (2) ma
m58lw064d 24/50 dc and ac parameters this section summarizes the operating and mea- surement conditions, and the dc and ac charac- teristics of the device. the parameters in the dc and ac characteristics tables that follow, are de- rived from tests performed under the measure- ment conditions summarized in table 12., operating and ac measurement conditions . de- signers should check that the operating conditions in their circuit match the measurement conditions when relying on the quoted parameters. table 12. operating and ac measurement conditions figure 7. ac measurement input output waveform figure 8. ac measurement load circuit table 13. capacitance note: 1. t a = 25c, f = 1 mhz 2. sampled only, not 100% tested. parameter m58lw064d units min max supply voltage (v dd ) 2.7 3.6 v input/output supply voltage (v ddq ) 2.7 3.6 v ambient temperature (t a ) grade 1 0 70 c grade 6 ?40 85 c load capacitance (c l ) 30 pf input pulses voltages 0 to v ddq v input and output timing ref. voltages 0.5 v ddq v ai00610 v ddq 0v 0.5 v ddq ai03459 1.3v dq s c l c l includes jig capacitance 3.3k ? 1n914 device under test 0.1f v dd v ddq 0.1f symbol parameter test condition typ max unit c in input capacitance v in = 0v 68pf c out output capacitance v out = 0v 812pf
25/50 m58lw064d table 14. dc characteristics symbol parameter test condition min max unit i li input leakage current 0v v in v ddq 1 a i lo output leakage current 0v v out v ddq 5 a i dd supply current (random read) e = v il , f=5mhz 20 ma i ddo supply current (page read) e = v il , f=33mhz 29 ma i dd1 supply current (standby) e = v ih , rp = v ih 40 a i dd5 supply current (auto low-power) e = v il , rp = v ih 40 a i dd2 supply current (reset/power-down) rp = v il 40 a i dd3 supply current (program or erase, block protect, block unprotect) program or erase operation in progress 30 ma i dd4 supply current (erase/program suspend) e = v ih 40 a v il input low voltage ?0.5 0.8 v v ih input high voltage 2 v ddq + 0.5 v v ol output low voltage i ol = 100a 0.2 v v oh output high voltage i oh = ?100a v ddq ?0.2 v v lko v dd supply voltage (erase and program lockout) 2v v penh v pen supply voltage (block erase, program and block protect) 2.7 3.6 v
m58lw064d 26/50 figure 9. random read ac waveforms note: 1. v ih = device disabled (first edge of e0, e1 or e2), v il = device enabled (first edge of e0, e1 or e2). refer to table 2. for more details. 2. byte can be low or high. table 15. random read ac characteristics. symbol parameter m58lw064d unit 110 t avav address valid to address valid min 110 ns t avqv address valid to output valid max 110 ns t axqx address transition to output transition min 0 ns t blqv byte low (or high) to output valid max 1 s t blqz byte low (or high) to output hi-z max 1 s t ehqx chip enable high to output transition min 0 ns t ehqz chip enable high to output hi-z max 25 ns t elbl chip enable low to byte low (or high) max 10 ns t elqx chip enable low to output transition min 0 ns t elqv chip enable low to output valid max 110 ns t ghqx output enable high to output transition min 0 ns t ghqz output enable high to output hi-z max 15 ns t glqx output enable low to output transition min 0 ns t glqv output enable low to output valid max 25 ns ai06213b e2, e1, e0 (1) g a0-a22 dq0-dq15 valid taxqx telqx tavqv tglqv tehqz tghqx output tavav tehqx tghqz tglqx telqv byte (2) telbl tblqv tblqz
27/50 m58lw064d figure 10. page read ac waveforms note: 1. v ih = device disabled (first edge of e0, e1 or e2), v il = device enabled (first edge of e0, e1 or e2). refer to table 2. for more details. table 16. page read ac characteristics note: for other timings see table 15., random read ac characteristics. symbol parameter m58lw064d unit 110 t axqx1 address transition to output transition min 6 ns t avqv1 address valid to output valid max 25 ns ai06214 e2, e1, e0 (1) g a3-a22 dq0-dq15 valid taxqx telqx tavqv tglqv tehqx tghqz output output a1-a2 taxqx1 valid valid tghqx tehqz telqv tglqx tavqv1
m58lw064d 28/50 figure 11. write ac waveform, write enable controlled note: 1. v ih = device disabled (first edge of e0, e1 or e2), v il = device enabled (first edge of e0, e1 or e2). refer to table 2. for more details. table 17. write ac characteristics, write enable controlled symbol parameter m58lw064d unit 110 t avwh address valid to write enable high min 50 ns t dvwh data input valid to write enable high min 50 ns t elwl chip enable low to write enable low min 0 ns t vphwh program/erase enable high to write enable high min 0 ns t whax write enable high to address transition min 0 ns t whbl write enable high to status/(ready/busy) low max 500 ns t whdx write enable high to input transition min 0 ns t wheh write enable high to chip enable high min 0 ns t ghwl output enable high to write enable low min 20 ns t whgl write enable high to output enable low min 35 ns t whwl write enable high to write enable low min 30 ns t wlwh write enable low to write enable high min 70 ns ai06215 dq0-dq15 sts (ready/busy mode) w a0-a22 e2, e1, e0 (1) g input valid twheh tavwh twlwh telwl v pen twhax twhwl twhdx tdvwh tvphwh twhgl tghwl twhbl
29/50 m58lw064d figure 12. write ac waveforms, chip enable controlled note: 1. v ih = device disabled (first edge of e0, e1 or e2), v il = device enabled (first edge of e0, e1 or e2). refer to table 2. for more details. table 18. write ac characteristics, chip enable controlled. symbol parameter m58lw064d unit 110 t aveh address valid to chip enable high min 50 ns t dveh data input valid to chip enable high min 50 ns t wlel write enable low to chip enable low min 0 ns t vpheh program/erase enable high to chip enable high min 0 ns t ehax chip enable high to address transition min 5 ns t ehbl chip enable high to status/(ready/busy) low max 500 ns t ehdx chip enable high to input transition min 5 ns t ehwh chip enable high to write enable high min 0 ns t ghel output enable high to chip enable low min 20 ns t ehgl chip enable high to output enable low min 35 ns t ehel chip enable high to chip enable low min 30 ns t eleh chip enable low to chip enable high min 70 ns ai06216 dq0-dq15 sts e2, e1, e0 (1) a0-a22 w g input valid tehwh taveh teleh twlel v pen tehax tehel tehdx tdveh tvpheh tehgl tghel tehbl (ready/busy mode)
m58lw064d 30/50 figure 13. reset, power-down and power-up ac waveform note: 1. v ih = device disabled (first edge of e0, e1 or e2), v il = device enabled (first edge of e0, e1 or e2). refer to table 2. for more details. table 19. reset, power-down and power-up ac characteristics symbol parameter m58lw064d unit 110 t phqv reset/power-down high to data valid max 150 ns t phwl reset/power-down high to write enable low max 1 s t plph reset/power-down low to reset/power-down high min 100 ns t plbh reset/power-down low to status/(ready/busy) high max 30 s t vdhph supply voltages high to reset/power-down high min 0 s ai06217b sts w rp e2, e1, e0 (1) , g v dd , v ddq tvdhph tplph tplbh power-up and reset reset during program or erase dq0-dq15 tphqv (ready/busy mode) tphwl
31/50 m58lw064d package mechanical figure 14. tsop56 - 56 lead plastic thin small outline, 14 x 20 mm, package outline note: drawing is not to scale. table 20. tsop56 - 56 lead plastic thin small outline, 14 x 20 mm, package mechanical data symbol millimeters inches typ min max typ min max a 1.200 0.0472 a1 0.100 0.050 0.150 0.0039 0.0020 0.0059 a2 1.000 0.950 1.050 0.0394 0.0374 0.0413 b 0.220 0.170 0.270 0.0087 0.0067 0.0106 c 0.100 0.210 0.0039 0.0083 cp 0.100 0.0039 d 20.000 19.800 20.200 0.7874 0.7795 0.7953 d1 18.400 18.300 18.500 0.7244 0.7205 0.7283 e 0.500 ? ? 0.0197 ? ? e 14.000 13.900 14.100 0.5512 0.5472 0.5551 l 0.600 0.500 0.700 0.0236 0.0197 0.0276 3 0 5 3 0 5 n56 56 tsop-b d1 e 1 n cp b e a2 a n/2 d die c l a1
m58lw064d 32/50 figure 15. tbga64 - 10x13mm, 8 x 8 ball array 1mm pitch, package outline note: drawing is not to scale. table 21. tbga64 - 10x13mm, 8 x 8 ball array, 1 mm pitch, package mechanical data symbol millimeters inches typ min max typ min max a 1.200 0.0472 a1 0.300 0.200 0.350 0.0118 0.0079 0.0138 a2 0.800 0.0315 b 0.350 0.500 0.0138 0.0197 d 10.000 9.900 10.100 0.3937 0.3898 0.3976 d1 7.000 ? ? 0.2756 ? ? ddd 0.100 0.0039 e 1.000 ? ? 0.0394 ? ? e 13.000 12.900 13.100 0.5118 0.5079 0.5157 e1 7.000 ? ? 0.2756 ? ? fd 1.500 ? ? 0.0591 ? ? fe 3.000 ? ? 0.1181 ? ? sd 0.500 ? ? 0.0197 ? ? se 0.500 ? ? 0.0197 ? ? e1 e d1 d eb sd se a2 a1 a bga-z23 ddd fd fe ball "a1"
33/50 m58lw064d part numbering table 22. ordering information scheme note: devices are shipped from the factory with the memory content bits erased to ?1?. for a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact the st sales office nearest to you. example: m58lw064d 110 n 1 t device type m58 architecture l = page mode operating voltage w = v dd = v ddq = 2.7v to 3.6v device function 064d = 64 mbit (x8, x16), uniform block speed 110 = 110 ns package n = tsop56: 14 x 20 mm za = tbga64: 10 x 13 mm, 1mm pitch temperature range 1 = 0 to 70 c 6 = ?40 to 85 c option blank = standard packing t = tape & reel packing e = lead-free and rohs package, standard packing f = lead-free and rohs package, tape & reel packing
m58lw064d 34/50 appendix a. block address table table 23. block addresses block number address range (x8 bus width) address range (x16 bus width) 64 7e0000h-7fffffh 3f0000h-3fffffh 63 7c0000h-7dffffh 3e0000h-3effffh 62 7a0000h-7bffffh 3d0000h-3dffffh 61 780000h-79ffffh 3c0000h-3cffffh 60 760000h-77ffffh 3b0000h-3bffffh 59 740000h-75ffffh 3a0000h-3affffh 58 720000h-73ffffh 390000h-39ffffh 57 700000h-71ffffh 380000h-38ffffh 56 6e0000h-6fffffh 370000h-37ffffh 55 6c0000h-6dffffh 360000h-36ffffh 54 6a0000h-6bffffh 350000h-35ffffh 53 680000h-69ffffh 340000h-34ffffh 52 660000h-67ffffh 330000h-33ffffh 51 640000h-65ffffh 320000h-32ffffh 50 620000h-63ffffh 310000h-31ffffh 49 600000h-61ffffh 300000h-30ffffh 48 5e0000h-5fffffh 2f0000h-2fffffh 47 5c0000h-5dffffh 2e0000h-2effffh 46 5a0000h-5bffffh 2d0000h-2dffffh 45 580000h-59ffffh 2c0000h-2cffffh 44 560000h-57ffffh 2b0000h-2bffffh 43 540000h-55ffffh 2a0000h-2affffh 42 520000h-53ffffh 290000h-29ffffh 41 500000h-51ffffh 280000h-28ffffh 40 4e0000h-4fffffh 270000h-27ffffh 39 4c0000h-4dffffh 260000h-26ffffh 38 4a0000h-4bffffh 250000h-25ffffh 37 480000h-49ffffh 240000h-24ffffh 36 460000h-47ffffh 230000h-23ffffh 35 440000h-45ffffh 220000h-22ffffh 34 420000h-43ffffh 210000h-21ffffh 33 400000h-41ffffh 200000h-20ffffh 32 3e0000h-3fffffh 1f0000h-1fffffh 31 3c0000h-3dffffh 1e0000h-1effffh 30 3a0000h-3bffffh 1d0000h-1dffffh 29 380000h-39ffffh 1c0000h-1cffffh 28 360000h-37ffffh 1b0000h-1bffffh 27 340000h-35ffffh 1a0000h-1affffh 26 320000h-33ffffh 190000h-19ffffh 25 300000h-31ffffh 180000h-18ffffh 24 2e0000h-2fffffh 170000h-17ffffh 23 2c0000h-2dffffh 160000h-16ffffh 22 2a0000h-2bffffh 150000h-15ffffh 21 280000h-29ffffh 140000h-14ffffh 20 260000h-27ffffh 130000h-13ffffh 19 240000h-25ffffh 120000h-12ffffh 18 220000h-23ffffh 110000h-11ffffh 17 200000h-21ffffh 100000h-10ffffh 16 1e0000h-1fffffh 0f0000h-0fffffh 15 1c0000h-1dffffh 0e0000h-0effffh 14 1a0000h-1bffffh 0d0000h-0dffffh 13 180000h-19ffffh 0c0000h-0cffffh 12 160000h-17ffffh 0b0000h-0bffffh 11 140000h-15ffffh 0a0000h-0affffh 10 120000h-13ffffh 090000h-09ffffh 9 100000h-11ffffh 080000h-08ffffh 8 0e0000h-0fffffh 070000h-07ffffh 7 0c0000h-0dffffh 060000h-06ffffh 6 0a0000h-0bffffh 050000h-05ffffh 5 080000h-09ffffh 040000h-04ffffh 4 060000h-07ffffh 030000h-03ffffh 3 040000h-05ffffh 020000h-02ffffh 2 020000h-03ffffh 010000h-01ffffh 1 000000h-01ffffh 000000h-00ffffh block number address range (x8 bus width) address range (x16 bus width)
35/50 m58lw064d appendix b. common flash interface - cfi the common flash interface is a jedec ap- proved, standardized data structure that can be read from the flash memory device. it allows a system software to query the device to determine various electrical and timing parameters, density information and functions supported by the mem- ory. the system can interface easily with the de- vice, enabling the software to upgrade itself when necessary. when the cfi query command (rcfi) is issued the device enters cfi query mode and the data structure is read from the memory. tables 24 , 25 , 26 , 27 , 28 and 29 show the addresses used to re- trieve the data. table 24. query structure overview note: 1. offset 15h defines p which points to the primary algorithm extended query address table. 2. offset 19h defines a which points to the al ternate algorithm extended query address table. 3. sba is the start base address for each block. 4. in x8 mode, a0 must be set to v il , otherwise 00h will be output. table 25. cfi - query address and data output note: 1. query data are always presented on dq7-dq0. dq15-dq8 are set to '0'. 2. offset 19h defines a which points to the al ternate algorithm extended query address table. 3. in x8 mode, a0 must be set to v il , otherwise 00h will be output. address sub-section name description x16 x8 (4) 0000h 00h manufacturer code 0001h 02h device code 0010h 20h cfi query identification string command set id and algorithm data offset 001bh 36h system interface information device timing and voltage information 0027h 4eh device geometry definition flash memory layout p(h) (1) primary algorithm-specific extended query table additional information specific to the primary algorithm (optional) a(h) (2) alternate algorithm-specific extended query table additional information specific to the alternate algorithm (optional) (sba+02)h block status register block-related information address data description x16 x8 (3) 0010h 20h 51h "q" 51h; "q" query ascii string 52h; "r" 59h; "y" 0011h 22h 52h "r" 0012h 24h 59h "y" 0013h 26h 01h primary vendor: command set and control interface id code 0014h 28h 00h 0015h 2ah 31h primary algorithm extended query address table: p(h) 0016h 2ch 00h 0017h 2eh 00h alternate vendor: command set and control interface id code 0018h 30h 00h 0019h 32h 00h alternate algorithm extended query address table 001ah (2) 34h 00h
m58lw064d 36/50 table 26. cfi - device voltage and timing specification note: 1. bits are coded in binary code decimal, bit7 to bit4 are scaled in volts and bit3 to bit0 in mv. 2. bit7 to bit4 are coded in hexadecimal and scaled in volts while bit3 to bit0 are in binary code decimal and scaled in 100mv. 3. not supported. 4. in x8 mode, a0 must be set to v il , otherwise 00h will be output. table 27. device geometry definition note: 1. in x8 mode, a0 must be set to v il , otherwise 00h will be output. address data description x16 x8 (4) 001bh 36h 27h (1) v dd min, 2.7v 001ch 38h 36h (1) v dd max, 3.6v 001dh 3ah 00h (2) v pp min ? not available 001eh 3ch 00h (2) v pp max ? not available 001fh 3eh 04h 2 n s typical time-out for word, dword prog ? not available 0020h 40h 08h 2 n s, typical time-out for max buffer write 0021h 42h 0ah 2 n ms, typical time-out for erase block 0022h 44h 00h (3) 2 n ms, typical time-out for chip erase ? not available 0023h 46h 04h 2 n x typical for word dword time-out max ? not available 0024h 48h 04h 2 n x typical for buffer write time-out max 0025h 4ah 04h 2 n x typical for individual block erase time-out maximum 0026h 4ch 00h (3) 2 n x typical for chip erase max time-out ? not available address data description x16 x8 (1) 0027h 4eh 17h n where 2 n is number of bytes memory size 0028h 50h 02h device interface 0029h 52h 00h organization sync./async. 002ah 54h 05h maximum number of bytes in write buffer, 2 n 002bh 56h 00h 002ch 58h 01h bit7-0 = number of erase block regions in device 002dh 5ah 3fh number (n-1) of erase blocks of identical size; n=64 002eh 5ch 00h 002fh 5eh 00h erase block region information x 256 bytes per erase block (128k bytes) 0030h 60h 02h
37/50 m58lw064d table 28. block status register note: 1. ba specifies the block address location, a22-a17. 2. in x8 mode, a0 must be set to v il , otherwise 00h will be output. 3. not supported. table 29. extended query information address data selected block information (ba+2)h (1,2) bit0 0 block unprotected 1 block protected bit1 0 last erase operation ended successfully (3) 1 last erase operation not ended successfully (3) bit7-2 0 reserved for future features address data (hex) description offset x16 x8 (2) (p)h 0031h 62h 50h "p" query ascii string - extended table (p+1)h 0032h 64h 52h "r" (p+2)h 0033h 66h 49h "i" (p+3)h 0034h 68h 31h major version number (p+4)h 0035h 6ah 31h minor version number (p+5)h 0036h 6ch ceh optional feature: (1=yes, 0=no) bit0, chip erase supported (0=no) bit1, suspend erase supported (1=yes) bit2, suspend program supported (1=yes) bit3, protect/unprotect supported (1=yes) bit4, queue erase supported (0=no) bit5, instant individual block locking (0=no) bit6, protection bits supported (1=yes) bit7, page read supported (1=yes) bit 8, synchronous read supported (0=no) bits 9 to 31 reserved for future use (p+6)h 0037h 6eh 00h (p+7)h 0038h 70h 00h (p+8)h 0039h 72h 00h (p+9)h 003ah 74h 01h function allowed after suspend: program allowed after erase suspend (1=yes) bit 7-1 reserved for future use (p+a)h 003bh 76h 01h block status register bit0, block protect-bit status active (1=yes) bit1, block lock-down bit status (not available) bits 2 to 15 reserved for future use (p+b)h 003ch 78h 00h (p+c)h 003dh 7ah 33h v dd optimum program/erase voltage conditions (p+d)h 003eh 7ch 00h v pp optimum program/erase voltage conditions (p+e)h 003fh 7eh 01h otp protection: no. of protection register fields (p+f)h 0040h 80h 80h protection register?s start address, least significant bits (p+10)h 0041h 82h 00h protection register?s start address, most significant bits (p+11)h 0042h 84h 03h n where 2 n is number of factory reprogrammed bytes (p+12)h 0043h 86h 03h n where 2 n is number of user programmable bytes
m58lw064d 38/50 note: 1. bit7 to bit4 are coded in hexadecimal and scaled in volt while bit3 to bit0 are in binary code decimal and scaled in mv. 2. in x8 mode, a0 must be set to v il , otherwise 00h will be output. (p+13)h 0044h 88h 03h page read: 2 n bytes (n = bits 0-7) (p+14)h 0045h 8ah 00h synchronous mode configuration fields (p+15)h 0046h 8ch reserved for future use address data (hex) description offset x16 x8 (2)
39/50 m58lw064d appendix c. flow charts figure 16. write to buffer and program flowchart and pseudo code write to buffer e8h command, block address ai05511 start read status register no sr7 = 1 write buffer data, start address yes x = n yes no end no write to buffer timeout write n (1) , block address yes x = 0 write next buffer data, next program address (2) x = x + 1 program buffer to flash confirm d0h read status register no sr7 = 1 yes full status register check (3) try again later note 1: n+1 is number of words to be programmed note 2: next program address must have same a5-a21. note 3: a full status register check must be done to check the program operation's success.
m58lw064d 40/50 figure 17. program suspend & resume flowchart and pseudo code write 70h ai00612b read status register yes no sr7 = 1 yes no sr2 = 1 program continues write ffh program/erase suspend command: ? write b0h ? write 70h do: ? read status register while sr7 = 1 if sr2 = 0, program completed read memory array command: ? write ffh ? one or more data reads from other blocks write d0h program erase resume command: ? write d0h to resume erasure ? if the program operation completed then this is not necessary. the device returns to read array as normal (as if the program/erase suspend command was not issued). read data from another block start write b0h program complete write ffh read data
41/50 m58lw064d figure 18. erase flowchart and pseudo code note: 1. if an error is found, the status register must be cleared (clear status register command) before further program or eras e oper- ations. write 20h ai00613c start write d0h to block address read status register yes no sr7 = 1 yes no sr3 = 0 no sr4, sr5 = 0 v pen invalid error (1) command sequence error erase command: ? write 20h ? write d0h to block address (a12-a17) (memory enters read status register after the erase command) do: ? read status register ? if program/erase suspend command given execute suspend erase loop while sr7 = 1 if sr3 = 1, v pen invalid error: ? error handler if sr4, sr5 = 1, command sequence error: ? error handler yes no sr5 = 0 erase error (1) yes no suspend suspend loop if sr5 = 1, erase error: ? error handler yes end yes no sr1 = 0 erase to protected block error if sr1 = 1, erase to protected block error: ? error handler
m58lw064d 42/50 figure 19. erase suspend & resume flowchart and pseudo code write 70h ai00615b read status register yes no sr7 = 1 yes no sr6 = 1 erase continues write ffh program/erase suspend command: ? write b0h ? write 70h do: ? read status register while sr7 = 1 if sr6 = 0, erase completed read memory array command: ? write ffh ? one or more data reads from other blocks write d0h read data from another block or program start write b0h erase complete write ffh read data program/erase resume command: ? write d0h to resume the erase operation ? if the program operation completed then this is not necessary. the device returns to read mode as normal (as if the program/erase suspend was not issued).
43/50 m58lw064d figure 20. block protect flowchart and pseudo code write 01h block address ai06157b yes no sr7 = 1 start write 60h block address write ffh read status register block protect sucessful sr3 = 1 sr4, sr5 = 1,1 sr4 = 1 v pen invalid error invalid command sequence error block protect error yes yes yes no no no block protect command ? write 60h, block adress ? write 01h, block adress do: ? read status register while sr7 = 1 if sr3 = 1, v pen invalid error read memory array command: ? write ffh if sr4 = 1, sr5 = 1 invalid command sequence error if sr4 = 1, block protect error
m58lw064d 44/50 figure 21. blocks unprotect flowchart and pseudo code write d0h ai06158b yes no sr7 = 1 start write 60h write ffh read status register blocks unprotect sucessful sr3 = 1 sr4, sr5 = 1,1 sr5 = 1 v pen invalid error invalid command sequence error blocks unprotect error yes yes yes no no no blocks unprotect command ? write 60h, block adress ? write d0h, block adress do: ? read status register while sr7 = 1 if sr3 = 1, v pen invalid error read memory array command: ? write ffh if sr4 = 1, sr5 = 1 invalid command sequence error if sr5 = 1, blocks unprotect error
45/50 m58lw064d figure 22. protection register program flowchart and pseudo code note: pr = protection register write pr address, pr data ai06159b yes no sr7 = 1 start write c0h write ffh read status register pr program sucessful sr1, sr4 = 0,1 v pen invalid error protection register program error protection register program error yes yes yes no no no protection register program command ? write c0h ? write protection register address, protection register data do: ? read status register while sr7 = 1 read memory array command: ? write ffh if sr1 = 0, sr4 = 1 protection register program error sr3, sr4 = 1,1 if sr3 = 1, sr4 = 1 v pen invalid error sr1, sr4 = 1,1 if sr1 = 1, sr4 = 1 program error due to protection register protection
m58lw064d 46/50 figure 23. command interface and program erase controller flowchart (a) ai03618 read signature yes no 90h read status yes 70h no clear status yes 50h no program buffer load yes e8h no erase set-up yes 20h (1) no erase command error yes ffh wait for command write read array yes d0h no a b no c cfi query yes 98h no d0h yes no program command error note 1. the erase command (20h) can only be issued if the flash is not already in erase suspend.
47/50 m58lw064d figure 24. command interface and program erase controller flowchart (b) read status yes no 70h b erase yes ready ? no a b0h no read status yes ready ? no erase suspend yes d0h read array yes erase suspended read status (read status) yes (erase resume) no read status 90h no read signature yes 98h no cfi query yes e8h no program buffer load yes c ai03619 program/erase controller status bit in the status register read status d0h yes no no program command error wait for command write ffh yes read array no
m58lw064d 48/50 figure 25. command interface and program erase controller flowchart (c). read status yes no 70h b program yes ready ? no c b0h no read status yes ready ? no program suspend yes d0h read array yes program suspended read status (read status) yes no (program resume) no read status 90h no read signature yes 98h no cfi query yes ai00618 program/erase controller status bit in the status register read status read array yes no ffh wait for command write
49/50 m58lw064d revision history table 30. document revision history date version revision details 08-nov-2001 -01 first issue (data brief) 01-feb-2002 -02 x8 bus width added, speed class modified, signal names and connections modified 09-apr-2002 -03 document expanded to full product preview 16-jul-2002 3.1 revision numbering modified: a minor revision will be indicated by incrementing the digit after the dot, and a major revision, by incrementing the digit before the dot (revision version 03 becomes 3.0). t whdx and t whax changed in table 17. , ?write ac characteristics?. 06-aug-2002 4.0 device code changed and effective programming time modified. v ddq range modified (in particular in tables 12 and 22 , and v ddq removed from note 1 below table 9. ). in table 9. , block erase time and program write buffer time parameters modified. figure 2., logic diagram , modified. v dd , v ddq , v ss and v ssq pin descriptions modified. document status changed from product preview to preliminary data. 14-oct-2002 4.1 a0 address line described separately from others (a1-a22) in table 1. and in ? signal descriptions ? paragraph. address lines modified in table 3., bus operations . byte signal added to figure 9., random read ac waveforms , timings t elbl , t blqv and t blqz added to table 15., random read ac characteristics. , timings t avlh and t ellh removed from table 18., write ac characteristics, chip enable controlled. ?write 70h? removed from flowchart figures 17 and 19 . table 3., bus operations , clarified. revision history moved to after appendices. 16-dec-2002 4.2 table 9., program, erase times and program erase endurance cycles modified. table 6., read electronic signature clarified. certain du connections changed to nc in figure 4., tbga64 connections (top view through package) . x8 address modified in table 24., query structure overview . note regarding a0 value in x8 mode added to all cfi tables. block protect setup command address modified in table 4., commands . data and descriptions clarified in cfi table 29., extended query information . i osc parameter added to absolute maximum ratings table. i dd and v lko clarified and i ddo and v penh parameters added to dc characteristics table. t phwl parameter added to reset, power-down and power-up ac waveforms figure and characteristics table. 16-apr-2003 5.0 document promoted to full datasheet. summary description clarified, bus operations clarified, read modes section added, status register bit nomenclature modified, v pen invalid error clarified in flowcharts. lead-free packing options added to ordering information scheme. 02-sep-2004 6.0 lead-free package options mentioned in features summary and summary description . t lead and note 1 added to table 11., absolute maximum ratings . tsop56 and tbga64 package specifications updated (see figure 14. , table 20. , figure 15. and table 21. ) document moved to new template.
m58lw064d 50/50 information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subject to change without notice. this publication supersedes and replac es all information previously supplied. stmicroelectronics prod ucts are not authorized for use as critical components in life support devices or systems without express written approval of stmicroelectro nics. the st logo is a registered trademark of stmicroelectronics. ecopack is a registered trademark of stmicroelectronics. all other names are the property of their respective owners ? 2004 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of M58LW064D110N6P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X